import React, { Component } from 'react';
import {observer, inject} from 'mobx-react';
@inject('user')
@observer
class User extends Component {

  render() {
    return (
      <div>
        {this.props.user.name}
      </div>
    );
  }
}

export default User;